/*
 * BabyNames.cpp
 *
 *  Created on: Feb 19, 2013
 *      Author: Anthony Varghese
 */

#include <iostream>
#include <string>
using std::string;
using std::ostream;
using std::istream;

#include "LinkedList.h"
#include "BabyNames.h"
using std::endl;

namespace assignment3 {

BabyNames::BabyNames() {

}

BabyNames::BabyNames(const BabyNames& source){

}

BabyNames& BabyNames::operator =(const BabyNames& rhs){

	return *this;
}

BabyNames::~BabyNames() {
}

void BabyNames::sortByName(){
	data.sortByName();
}

void BabyNames::sortByPopularity(){
	data.sortByPopularity();
}

void BabyNames::sortByYear(){
	data.sortByYear();
}

ostream& operator<<(ostream& os, const BabyNames& bn){
	os << "  BabyNames object " << std::endl;
	os << bn.data;
	return os;
}

istream& operator>>(istream& is, BabyNames& bn){
	is >> bn.data;
	return is;
}

}
